package com.h3c.nem.entity;

import javax.persistence.*;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Copyright (C), 2020-2020, h3c
 * FileName: SdDept
 *
 * @Author: l22886
 * @Date: 2022-01-19
 * Description: sd_dept 实体
 * Version: 1.0
 */
@ApiModel(value="SdDept对象", description="")
@Table(name = "sd_dept")
@Data
public class SdDept {


    @ApiModelProperty(value = "部门id")
    @TableId
    private Integer deptId;

    @ApiModelProperty(value = "部门名称")
    @Column(name = "dept_name")
    private String deptName;

    @ApiModelProperty(value = "部门等级")
    private Integer deptLevel;

    @ApiModelProperty(value = "上级部门id")
    private Integer parentId;

    @ApiModelProperty(value = "bp用户工号")
    private String bpUserId;

    @ApiModelProperty(value = "bp用户名称")
    private String bpUserName;

    @ApiModelProperty(value = "部门状态")
    private Boolean deptStatus;

    @ApiModelProperty(value = "全链路部门名称")
    private String deptNameChain;

    @ApiModelProperty(value = "全链路部门编码")
    private String deptCodeChain;

    @ApiModelProperty(value = "部门接口人工号")
    private String contactorId;

    @ApiModelProperty(value = "部门接口人名称")
    private String contactorName;

    @ApiModelProperty(value = "部门主管工号")
    private String deptManagerId;

    @ApiModelProperty(value = "部门主管名称")
    private String deptManagerName;

    @ApiModelProperty(value = "干部部长工号")
    private String gbbzId;

    @ApiModelProperty(value = "干部部长名称")
    private String gbbzName;

    @ApiModelProperty(value = "一级部门简称")
    private String shortName;

    @ApiModelProperty(value = "城市接口人")
    private String cityContactor;

    /**
     * 部门类型编码（RD等）
     */
    private String deptType;
    /**
     * 财务COA编码
     */
    private String coaCode;
    /**
     * 入职审核部门管理员工号
     */
    private String offerDeptManagerId;
    /**
     * 入职审核部门管理员名称
     */
    private String offerDeptManagerName;
}
